<script setup lang="ts">
import type { BusinessUIQueryColumnType } from '@/types/custom'
import { getBusinessBind } from '@/utils/custom'

interface Props {
  form: BusinessUIQueryColumnType
  modelValue?: string
}

const props = defineProps<Props>()
</script>

<template>
  <el-divider v-bind="getBusinessBind(form)" class="custom-divider--horizontal">
    {{ modelValue || form.title }}
  </el-divider>
</template>
